package com.hippo.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.*;

/**
 * @Description: 脚本表
 * @Auther: tangxl
 * @Date: 2021/5/17 11:04
 */

@TableName("liteflow_script" )
@Data
public class LiteflowScript  implements Serializable{

private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@TableField("application_name" )
	private String applicationName;
	@TableField("script_id" )
	private String scriptId;
	@TableField("script_name" )
	private String scriptName;
	@TableField("script_desc" )
	private String scriptData;
	@TableField("script_type" )
	private String scriptType;
	@TableField(value = "create_time",fill = FieldFill.INSERT)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	@TableField(value = "status",fill = FieldFill.INSERT)
	private Long state;

}
